﻿@model Atomic.Permission.Entities.FunPointEntity
@using (Ajax.BeginForm("OperatePointAddOrUpdate", new AjaxOptions
    {
        HttpMethod = "Post",
        OnSuccess = "onOperateSuccess"
    }))
{
    @Html.HiddenFor(m => m.FormID, new { @id = "OperatePoint_FunPointID" })
    <table class="form-tab top" style="width: 450px">
        <tr>
            <td class="left">
                @Html.LabelFor(m => m.Key)：
            </td>
            <td>
                @Html.TextBoxFor(m => m.Key, new { @class = "text" })
                @Html.ValidationMessageFor(m => m.Key)
            </td>
        </tr>
        <tr>
            <td class="left">
                @Html.LabelFor(m => m.Name)：
            </td>
            <td>
                @Html.TextBoxFor(m => m.Name, new { @class = "text" })
                @Html.ValidationMessageFor(m => m.Name)
            </td>
        </tr>
        <tr>
            <td class="left">
                @Html.LabelFor(m => m.Name)：
            </td>
            <td>
                @Html.TextBoxFor(m => m.Name, new { @id = "OperatePoint_FunPointName", @class = "text", @disabled = true })
            </td>
        </tr>
        <tr>
            <td class="left">
                @Html.LabelFor(m => m.Enabled)：
            </td>
            <td>
                @Html.CheckBoxFor(m => m.Enabled, new { @checked = true })
            </td>
        </tr>
    </table>
}